package com.example.mybatis.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Alias("user")
public class User {
    private Integer id;
    private String name;
    private Date createDate;
    private Date updateDate;
}
